package com.langsin.shihao.mapper;

import com.langsin.bean.Goods;
import com.langsin.bean.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface GoodsMapper {
    int addGoods(Goods goods);
    List<Goods> queryByName(String goodsName);
    List<Goods> queryByName2(String goodsName);
    //入参是list
    List<Goods> queryByIds(List<Integer> ids);

    Goods queryByIdAno( Integer gid);
    /*
    *
    *多条件查询
    * */
    List<Goods> queryByCondition(Goods goods);

}
